{include file="common/_meta"}
<title>用户记录</title>
</head>
<body>
<div class="cl pd-20" style=" background-color:#5bacb6">
    <span>{$user.username}</span>
</div>
<div class="pd-20">
    <table class="table table-border table-bordered table-hover table-bg table-sort">

        <thead>
            <tr>
                <th class="text-c" >时间</th>
                <th class="text-c center-align">事件</th>
                <th class="text-c center-align">金额</th>
                <th class="text-c center-align">备注</th>
            </tr>
        </thead>

        <tbody>
        {volist name="his" id="userhis" }
            <tr>
                <td class="text-c">{$userhis.create_time}</td>
                <td class="text-c">
                    {switch name="userhis.type"}
                    {case value="1"}投注{/case}
                    {case value="2"}赠送{/case}
                    {case value="3"}打赏{/case}
                    {case value="4"}充值{/case}
                  {case value="5"}提现{/case}
                    {/switch}
                </td>
                <td class="text-c">{$userhis.data}</td>
                <td class="text-c">{$userhis.comment}</td>
            </tr>
        {/volist}
        </tbody>
    </table>
</div>
{include file="common/_footer"}


</body>
</html>